<?php

namespace Home\Model;

use Think\Model;

class TasksModel extends Model {

    protected $trueTableName = 'tb_tasks';

    public function getFind($where){
        $result = $this->where($where)->find();
        return $result;
    }
    
    public function addData($data){
        $result = $this->add($data);
        return $result;
    }
}
